<template>
  <div class="edit">
    <span class="iconfont iconjiantou2" @click="$router.go(-1)"></span>
    <span class="text">{{ text }}</span>
    <span></span>
  </div>
</template>

<script>
export default {
  props: ["text"],
};
</script>

<style lang="less" scoped>
.edit {
  display: flex;
  justify-content: space-between;
  padding-top: 15/360 * 100vw;
  .iconjiantou2 {
    font-size: 18/360 * 100vw;
  }
  .text {
    font-size: 16/360 * 100vw;
    font-weight: 700;
  }
}
</style>